// mysql 连接
const mysql = require('mysql');

let pool = mysql.createPool({
    host: '127.0.0.1',
    user: 'root',
    password: 'root',
    port: '3306',
    database: 'mfresh',
    connectionLimit: 10
});
console.log('连接池创建成功');

module.exports = pool;
